← Index
NYTProf Performance Profile   
For Makefile.PL
  Run on Sun Mar 1 16:04:44 2015
Reported on Sun Mar 1 16:09:02 2015

Filename(eval 28)[C:/tmp64ng/perl/lib/JSON/PP.pm:66]
StatementsExecuted 162 statements in 15.6ms
Eval Invoked AtC:/tmp64ng/perl/lib/JSON/PP.pm line 66
Sibling evals1, 2, 3, 4, 5, 6, 7
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
541115.6ms15.6msJSON::PP::::utf8JSON::PP::utf8
0000s0sJSON::PP::::get_utf8JSON::PP::get_utf8
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
2
# spent 15.6ms within JSON::PP::utf8 which was called 54 times, avg 289µs/call: # 54 times (15.6ms+0s) by CPAN::Meta::Converter::_dclone at line 56 of CPAN/Meta/Converter.pm, avg 289µs/call
sub utf8 {
3540s my $enable = defined $_[1] ? $_[1] : 1;
4
55415.6ms if ($enable) {
6 $_[0]->{PROPS}->[P_UTF8] = 1;
7 }
8 else {
9 $_[0]->{PROPS}->[P_UTF8] = 0;
10 }
11
12540s $_[0];
13 }
14
15 sub get_utf8 {
16 $_[0]->{PROPS}->[P_UTF8] ? 1 : '';
17 }
18
19;